-
Home
-
Resurs Bank Payments for WooCommerce
-
1.0.43
-
Code
-
Classes
- Resursbank
| Total Complexity |
73 |
| Dependencies |
47 |
| Dependents |
1 |
| Total lines |
499 |
| Lines of code |
278 |
| Logical lines of code |
106 |
| Comment lines |
138 |
| Methods |
20 |
| Properties |
2 |
Methods 20
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| getOrder() |
A |
55 |
9 |
19 |
| is_available() |
A |
56 |
8 |
17 |
| resolveNullableMethod() |
S |
54 |
7 |
20 |
| validatePurchaseLimit() |
S |
56 |
7 |
18 |
| handleCreatePaymentError() |
S |
52 |
5 |
27 |
| validate_fields() |
S |
53 |
5 |
24 |
| getOptions() |
S |
50 |
4 |
30 |
| process_payment() |
S |
54 |
4 |
22 |
| getBaseMetadata() |
S |
56 |
3 |
18 |
| payment_fields() |
S |
61 |
3 |
13 |
| createPayment() |
S |
56 |
2 |
18 |
| validateCustomerCountry() |
S |
74 |
3 |
4 |
| getMinPurchaseLimit() |
S |
73 |
3 |
5 |
| getMaxPurchaseLimit() |
S |
73 |
3 |
5 |
| isAdmin() |
S |
79 |
2 |
3 |
| __construct() |
S |
62 |
1 |
12 |
| clearSession() |
S |
65 |
1 |
12 |
| getMethodInfo() |
S |
82 |
1 |
3 |
| getSuccessUrl() |
S |
80 |
1 |
3 |
| getFailureUrl() |
S |
75 |
1 |
5 |